package com.sne.airways.route.service;

import com.sne.airways.basecore.exceptions.AppException;
import com.sne.airways.basecore.service.BaseService;
import com.sne.airways.route.pojo.ExpAirPort;
import com.sne.airways.route.pojo.ExpCountry;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: 卞京帅{bjslogin@gmail.com}
 * Date: 12-11-20
 * Time: 下午11:40
 * To change this template use File | Settings | File Templates.
 */
public interface ConPortService extends BaseService {

    public List<ExpCountry> getCountry(Integer start,Integer limit,Object... param) throws AppException;
    public Integer getCountryCount(Object... param) throws AppException;

    public List<ExpAirPort> getAirPort(Integer start,Integer limit,Object... param) throws AppException;
    public Integer getAirPortCount(Object... param) throws AppException;

    public void saveCountry(String data) throws AppException;
    public void savePort(String data) throws AppException;
}
